package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Permission;
import org.apache.ibatis.annotations.Select;

public interface PermissionMapper extends BaseMapper<Permission> {
    @Select("set foreign_key_checks = 0")
    void closeForeignKeyChecks();

    @Select("set foreign_key_checks = 1")
    void openForeignKeyChecks();
}
